import { http } from './client';

export const follow = (followedId) => http.post(`/user/follows/follow/${followedId}`);
export const unfollow = (followedId) => http.post(`/user/follows/unfollow/${followedId}`);
export const checkFollow = (followedId) => http.get(`/user/follows/check/${followedId}`);
export const getFollowing = () => http.get('/user/follows/following');
export const getFollowers = () => http.get('/user/follows/followers');
export const getFollowingCount = () => http.get('/user/follows/following/count');
export const getFollowersCount = () => http.get('/user/follows/followers/count');